package model;

import java.util.List;

public class Turma {

	private String cdTurma;
	private int sala;
	private DiaDaSemana diaDaSemana;
	private Professor professor;
	private Disciplina disciplina;
	private List<Aluno> alunos;

	public Turma() {
	}

	public Turma(String cdTurma, int sala, DiaDaSemana diaDaSemana,
			Professor professor, Disciplina disciplina,
			List<Aluno> alunos) {
		super();
		this.cdTurma = cdTurma;
		this.professor = professor;
		this.disciplina = disciplina;
		this.sala = sala;
		this.diaDaSemana = diaDaSemana;
		this.alunos = alunos;
	}


	public String getCdTurma() {
		return cdTurma;
	}

	public void setCdTurma(String cdTurma) {
		this.cdTurma = cdTurma;
	}

	public Professor getProfessor() {
		return professor;
	}

	public void setProfessor(Professor professor) {
		this.professor = professor;
	}

	public Disciplina getDisciplina() {
		return disciplina;
	}

	public void setDisciplina(Disciplina disciplina) {
		this.disciplina = disciplina;
	}

	public int getSala() {
		return sala;
	}

	public void setSala(int sala) {
		this.sala = sala;
	}

	public DiaDaSemana getDiaDaSemana() {
		return diaDaSemana;
	}

	public void setDiaDaSemana(DiaDaSemana diaDaSemana) {
		this.diaDaSemana = diaDaSemana;
	}

	public List<Aluno> getAlunos() {
		return alunos;
	}

	public void setAlunos(List<Aluno> alunos) {
		this.alunos = alunos;
	}
	
	public String toString(){
		
		return cdTurma + " - " + disciplina.getNome() + " - " +  professor.getNome();
		
		
	}
	
	

}
